package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 统计信息表-Do实体
 * Created by yangjin on 2020/02/05
 */
@Data
@Table(value = "stat_info",keys = {"stat_id"})
public class StatInfoDo implements Serializable {

    /**  统计id */
    @Column("stat_id")
    private String statId;

    /**  统计日期 */
    @Column("stat_date")
    private Date statDate;

    /** 统计类型
     1000-SHQC转账手续费
     1100-USDT提币手续费
     1200-SHQC提币手续费
     1300-USDT归集统计
     1400-SHQC归集统计
     1500-转用户ETH统计
     1600-中央账户支出矿工费统计
     */
    @Column("stat_type")
    private String statType;

    /**  累计值 */
    @Column("total_currency")
    private BigDecimal totalCurrency;

    /**  昨日值 */
    @Column("yes_currency")
    private BigDecimal yesCurrency;


}